/**
 * 
 */
package com.gf.common;

/**
 * @description 返回结果及信息
 * @date   Nov 18, 2014
 * @author sss
 */
public class ResultMessage {

	/**
	 * 1-成功 0-失败
	 */
	private int flag;
	
	/**
	 * 具体提示信息
	 */
	private String msg;
	
	/**
	 * @return the flag
	 */
	public int getFlag() {
		return flag;
	}

	/**
	 * @param flag the flag to set
	 */
	public void setFlag(int flag) {
		this.flag = flag;
	}

	/**
	 * @return the msg
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * @param msg the msg to set
	 */
	public void setMsg(String msg) {
		this.msg = msg;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "ResultMessage [flag=" + flag + ", msg=" + msg + "]";
	}
	
}
